require.config({
  baseUrl: '/',
  paths: {
    'jquery': 'libs/jquery/jquery-3.4.1.min',
    'header': 'js/modules/header',
    'footer': 'js/modules/footer',
    'template': '/libs/art-template/template-web',
    'request': '/js/modules/request',
    'zoom': '/libs/jquery-plugins/jquery.elevateZoom-3.0.8.min',
    'fly': '/libs/jquery-plugins/jquery.fly.min',
    'cookie': '/libs/jquery-plugins/jquery.cookie',
    'swiper':'/libs/swiper/js/swiper.min',
    'area':'/libs/linkage/area',
    'select':'/libs/linkage/select',
    'calendar':'/libs/data/calendar'
  },
  //垫片：一个模块不满足AMD模块,并且要依赖另外一个模块
  shim: {
    'zoom': {
      deps: ['jquery']
    },
    'fly': {
      deps: ['jquery']
    },
    'cookie': {
      deps: ['jquery']
    },
    'select': {
      deps: ['jquery']
    },
    'calendar': {
      deps: ['jquery']
    }
  }
})